from django.conf.urls.defaults import patterns, include, url


# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', 'gmoney.members.views.index')
)
urlpatterns += patterns('gmoney.members.views',
    # Examples:
    # url(r'^$', 'gmoney.views.home', name='home'),
    # url(r'^gmoney/', include('gmoney.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
    url(r'^members/$', 'list_members'),
    url(r'^members/add/$', 'add_member'),
    url(r'^members/charging/(?P<member_id>\d+)$', 'charging'),
)

urlpatterns += patterns('gmoney.members.views',
    url(r'activities/$', 'list_activities'),
    url(r'activities/add/$', 'add_activity'),

)

urlpatterns += patterns('',
    url(r'^testform/$', 'gmoney.views.testform'),
    
)